/*global styles*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

body {
    background: lightgray;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    min-height: 1000px;
    margin: 40px;
    background: #f3f3f3;
    display: grid;
    grid-template-columns: 1fr 2fr;
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.25);
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.container .left-side {
    position: relative;
    background: crimson;
    padding: 40px;
    border-bottom-left-radius: 20px;
}

.profileText {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.profileText .imgbox {
    position: relative;
    height: 200px;
    width: 200px;
    border-radius: 50%;
    border: 2px dotted #20263c;
    overflow: hidden;
    background: #fff;
}

.profileText .imgbox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profileText h2 {
    color: #20263c;
    font-size: 1.5em;
    margin-top: 20px;
    text-transform: uppercase;
    text-align: center;
}

.profileText h2 span {
    font-size: 0.6em;
    font-weight: 800;
    color: #20263c;
    opacity: 0.6;
}

.contactInfo  {
    padding-top: 40px;
}

.contactInfo h3 {
    color: #20263c;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.contactInfo ul {
    position: relative;
}

.contactInfo ul li {
    position: relative;
    margin: 10px 0;
    cursor: pointer;
}

.contactInfo ul li .icon {
    display: inline-block;
    width: 30px;
    font-size: 18px;
    color: #20263c;
}

.contactInfo ul li span {
    color: #fff;
    font-weight: 300;
}

.contactInfo.education li {
    margin-bottom: 15px;
}

.contactInfo.education h5 {
    color: #20263c;
    letter-spacing: 2px;
    font-size: 1rem;
    font-weight: 500;
}

.contactInfo.education h4:nth-child(2) {
    color: #fff;
    font-weight: 100;
}

.contactInfo.education h4 {
    color: #fff;
    font-size: 50;
}

.contactInfo.hobbies ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.contactInfo.hobbies ul li {
    color: white;
    font-weight: 300;
}

.container .right-side {
    position: relative;
    background: #fff;
    padding: 40px;
    border-top-right-radius: 20px;
}

.about {
    margin-bottom: 50px;
}

.about:last-child {
    margin-bottom: 0;
}

.title2 {
    color: #20263c;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

p {
    color: #333;
}

.box-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
    gap: 30px;
    padding: 20px 0;
}

.box {
    position: relative;
    border-radius: 20px;
    background: #fff;
    box-shadow: 5px 15px 25px rgba(0, 0, 0, 0.25);
    width: 250px;
    min-height: 200px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all .5s linear;
}

.box:hover {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.25);   
}
.box:hover .circle {
    background: #20263c;
}

.box:hover .company h3 {
    color: #20263c;
}

.company h3 {
    color: crimson;
    margin-bottom: 8px;
}

.company p {
    margin-bottom: 8px;
}

.company h4 {
    color: #20263c;
    opacity: .6;
    margin-bottom: 5px;
}

.tools {
    color: #20263c;
    opacity: .6;
    font-style: italic;
}

.circle {
    position: absolute;
    bottom: 0;
    right: -0.19rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: .85;
    background: crimson;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.white {
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 50%;

}

.about.experience {
    position: relative;
}

.skillchart {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}


.chartbox {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
    border: 15px solid crimson;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    cursor: pointer;
}

.name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    background: crimson;
    border-radius: 50%;
}

.name div {
    color:white;
    font-weight: 400;
    transform: rotate(45deg);
    font-size: 11.8px;
}

.dash {
    position: absolute;
    width: 55px;
    height: 8px;
    background: #f3f3f3;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
    right: -4.56rem;
    border-radius: 10px;
    border: 1px dotted crimson;
}


.dash.top {
    position: absolute;
    width: 8px;
    height: 55px;
    background: #f3f3f3;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
    left: 3.5rem;
    top: -4.5rem;
    border-radius: 10px;
    border: 1px dotted crimson;
}




@media (max-width:1000px) {
    .container {
        margin: 10px;
        grid-template-columns: repeat(1,1fr);
    }

    .hobbies ul{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:600px){
    .about .box{
        flex-direction: column;
    }

    .about .box .company{
        margin-bottom: 5px;
    }

    .hobbies ul{
        grid-template-columns: repeat(1,1fr);
    }
}

@media screen and (min-width:375px) {
    .dash {
        position: absolute;
        width: 8px;
        height: 55px;
        background: #f3f3f3;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
        left: 3.55rem;
        bottom: -4.56rem;
        border-radius: 10px;
        border: 1px dotted crimson;
    }   
}

@media screen and (min-width:768px) {
    .dash {
        position: absolute;
        width: 55px;
        height: 8px;
        background: #f3f3f3;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
        left: unset;
        bottom: unset;
        right: -4.56rem;
        border-radius: 10px;
        border: 1px dotted crimson;
    }
}

